package com.example.helloJenkins.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.example.helloJenkins.vo.Greeting;

@Controller
public class HelloJenkinsController {

	@GetMapping("/helloJenkins")
	@ResponseBody
	public Greeting greet() {
		return Greeting.builder().greet("hello").name("jenkins").build();
	}

}
